package com.df.bpm.utils.businessViewerV2.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Table;


/**
 * 过程主体DTO
 * <P>扩展类型信息和相关业务信息</P>
 */
@TableName("businessOverview.businessEntityDTO")
@Getter
@Setter
@ToString
@Accessors(chain = true)
@Table(name="businessOverview.businessEntityDTO")
public class M_entityDto extends M_entity {

    /**
     * 名称
     * <P>人、机、料、法</P>
     */
    @Schema(description = "名称")
    private String typeName;

    /**
     * 担当的业务
     */
    @Schema(description = "担当的业务")
    private String masterBusiness;

    /**
     * 当作输入的业务
     */
    @Schema(description = "当作输入的业务")
    private String input2Business;

    /**
     * 当作输出的业务
     */
    @Schema(description = "当作输出的业务")
    private String output4Business;

    @Override
    public String toString() {
        return "typeName='" + typeName + '\'' +
                ", masterBusiness='" + masterBusiness + '\'' +
                ", input2Business='" + input2Business + '\'' +
                ", output4Business='" + output4Business + '\'' +
                ", " +  super.toString();
    }
}

